local jiahe = fk.CreateSkill{
    name = "wk_heg__jiahe",
    tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{
    ["wk_heg__jiahe"] = "嘉禾",
    [":wk_heg__jiahe"] = "<b><font color='goldenrod'>君主技</font></b>，你视为拥有<a href=':fenghuotu'>“缘江烽火图”</a>。" ,
}

jiahe:addEffect(fk.GeneralRevealed,{
  mute = true,
  can_trigger = function (self, event, target, player, data)
    if target == player and player:hasSkill(jiahe.name, true) then
      for _, v in pairs(data) do
        if table.contains(Fk.generals[v]:getSkillNameList(), jiahe.name) then return true end
      end
    end
  end,
  on_use = function (self, event, target, player, data)
      player.room:notifySkillInvoked(player, jiahe.name, "support")
      player.room:handleAddLoseSkills(player, "#wk_heg__fenghuotu")
  end,
})

return jiahe